package edu.suda.xsap.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Course {
    private Long id;
    private String name;
    private Integer duration; // 课程时长
    private Integer contains; // 课堂容纳人数
    private String color; // 卡片颜色
    private String introduce; // 课程介绍
    private Integer timesCost; // 每节课程需花费的次数
    private String limitSex; // 限制性别
    private Integer limitAge; // 限制年龄
    private Integer limitCounts; // 限制预约次数
    private LocalDateTime createTime; // 创建时间
    private LocalDateTime lastModifyTime; // 修改时间
    private Integer version; // 版本
}